#include <iostream>
using namespace std;

class Staff{
    public:
        string name;
        int age;
};

class Coder: public Staff{
    public:
        string language;
        void code(){
            cout<<"Coding..."<<endl;
        }
};

int main(){
    Coder * coder=new Coder();
    Staff * staff=coder;
    coder=(Coder *)staff;
    return 0;
}
